package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 withdraw
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
public class Withdraw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 提现人 */
    @Excel(name = "提现人")
    private Integer userId;

    /** 提现:0=未审核,1=已通过,2=未通过 */
    @Excel(name = "提现:0=未审核,1=已通过,2=未通过")
    private Integer status;

    /** 提现时间 */
    @Excel(name = "提现时间")
    private Integer addtime;

    /** 审核时间 */
    @Excel(name = "审核时间")
    private Integer endTime;

    /** 原因 */
    @Excel(name = "原因")
    private String reason;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private BigDecimal talMoney;

    /** 到账金额 */
    @Excel(name = "到账金额")
    private BigDecimal money;

    /** 手续费 */
    @Excel(name = "手续费")
    private BigDecimal sxf;

    /** 提现方式:1=微信,2=银行卡 */
    @Excel(name = "提现方式:1=微信,2=银行卡")
    private Integer type;

    /** 收款二维码 */
    @Excel(name = "收款二维码")
    private String imgurl;

    /** 提现姓名 */
    @Excel(name = "提现姓名")
    private String name;

    /** 支付宝账号 */
    @Excel(name = "支付宝账号")
    private String number;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAddtime(Integer addtime) 
    {
        this.addtime = addtime;
    }

    public Integer getAddtime() 
    {
        return addtime;
    }
    public void setEndTime(Integer endTime) 
    {
        this.endTime = endTime;
    }

    public Integer getEndTime() 
    {
        return endTime;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setTalMoney(BigDecimal talMoney) 
    {
        this.talMoney = talMoney;
    }

    public BigDecimal getTalMoney() 
    {
        return talMoney;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setSxf(BigDecimal sxf) 
    {
        this.sxf = sxf;
    }

    public BigDecimal getSxf() 
    {
        return sxf;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setImgurl(String imgurl) 
    {
        this.imgurl = imgurl;
    }

    public String getImgurl() 
    {
        return imgurl;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("addtime", getAddtime())
            .append("endTime", getEndTime())
            .append("reason", getReason())
            .append("talMoney", getTalMoney())
            .append("money", getMoney())
            .append("sxf", getSxf())
            .append("type", getType())
            .append("imgurl", getImgurl())
            .append("name", getName())
            .append("number", getNumber())
            .append("creator", getCreator())
            .append("createDate", getCreateDate())
            .toString();
    }
}
